const BasicLogic = require('../BasicLogic.js');
module.exports = class extends BasicLogic {
  get scope() {

  }
  addAction() {
    this.allowMethods = 'post';
    this.rules = {
      relation_id: {
        string: true,
        required: true
      },
      richtext: {
        string: true,
        required: true
      }
    };
  }
  editAction() {
    this.allowMethods = 'post';
    this.rules = {
      relation_id: {
        string: true,
        required: true
      }
    };
  }
};
